from gameset.phoenicia.base import *

from .metal import Metal, Ore, MetalGood


class CopperOre(Ore):
    singular =_ ('Copper Ore')
    plural   =_ ('Copper Ore')
    price    =_ (75)


class TinOre(Ore):
    singular =_ ('Tin Ore')
    plural   =_ ('Tin Ore')
    price    =_ (100)


class Bronze(Metal):
    singular =_ ('Bronze')
    plural   =_ ('Bronze')
    price    =_ (500)
    ore      =_ (CopperOre(1), TinOre(1))


class Tools(MetalGood, UtilityGood):
    singular =_ ('Tool')
    plural   =_ ('Tools')
    price    =_ (2500)
    metal    =_ (Bronze(4))


class Statues(MetalGood, Property):
    singular   =_ ('Statue')
    plural     =_ ('Statues')
    price      =_ (30000)
    metal      =_ (Bronze(200))
    forge_time =_ (60)
    happiness  =_ (1.0)
    consumed   =_ (0.1)


class Figurines(MetalGood, Property):
    singular   =_ ('Figurine')
    plural     =_ ('Figurines')
    price      =_ (3000)
    metal      =_ (Bronze(2))
    forge_time =_ (15)
    happiness  =_ (1.0)
    consumed   =_ (0.5)
